<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
<?php include("../../MerchandiseBay/conn.php");?>
<?
$job=$_REQUEST['oldjob'];//category,id,kind,oldkind ambil dari name field form
$id=trim($_REQUEST['id']);
//$kind=$_REQUEST['kind'];
//$oldkind=$_REQUEST['oldkind'];

$sql="update admin set job='$job' where id='$id'";
$qry=mysql_query($sql,$conn);

//$sql="update model set category='$category',kind='$kind' where kind='$oldkind'";
//$qry=mysql_query($sql,$conn);

//$sql="update merchandise set category='$category',kind='$kind' where kind='$oldkind'";
//$qry=mysql_query($sql,$conn);

?>

<script language=javascript>
window.alert("Update successful");
window.location.assign("listStaff.php");
</script>
</head>

<body>

</body>

</html>
